home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / os2 / octa209s.zip / octave-2.09 / PROJECTS < prev    next >
Text File  |  1997-05-28  |  20KB  |  629 lines

  1. Octave PROJECTS                                          -*- text -*-
  2. ===============
  3.  
  4. Check with bug-octave@bevo.che.wisc.edu for a possibly more current
  5. copy.  Also, if you start working steadily on a project, please let
  6. bug-octave@bevo.che.wisc.edu know.  We might have information that
  7. could help you; we'd also like to send you the GNU coding standards.
  8.  
  9. This list is not exclusive -- there are many other things that might
  10. be good projects, but it might instead be something we already have,
  11. so check with bug-octave@bevo.che.wisc.edu before you start.
  12.  
  13. ---------
  14. Numerical:
  15. ---------
  16.  
  17.   * Merge control stuff.
  18.  
  19.   * Improve logm, and sqrtm.
  20.  
  21.   * Improve complex mapper functions.
  22.  
  23.   * Make functions like gamma() return the right IEEE Inf or NaN
  24.     values for extreme args or other undefined cases.
  25.  
  26.   * Handle complex values in fread and fwrite.
  27.  
  28.   * Support for lp_solve for linear programming problems.
  29.  
  30.   * Free QP solver.
  31.  
  32.   * Free NLP solver.
  33.  
  34.   * Support for sparse matrices.
  35.  
  36.   * Fix CollocWt to handle Laguerre polynomials.  Make it easy to
  37.     extend it to other polynomial types.
  38.  
  39.   * Add optional arguments to colloc so that it's not restricted to
  40.     Legendre polynomials.
  41.  
  42.   * Fix eig to also be able to solve the generalized eigenvalue
  43.     problem, and to solve for eigenvalues and eigenvectors without
  44.     performing a balancing step first.
  45.  
  46.   * Move rand, eye, xpow, xdiv, etc., functions to the matrix classes.
  47.  
  48.   * Use octave_allocator for memory management in Array classes once
  49.     g++ supports static member templates.
  50.  
  51.   * Implement the following functions:
  52.     -- ppval    -- cross    -- dot
  53.  
  54.   * Allow parameters to be passed through the call to fsolve() to the
  55.     user-supplied function for Matlab compatibility.  Don't place an
  56.     upper limit on the number of arguments.
  57.  
  58.   * If possible, make economy QR factorization actually take advantage
  59.     of the form of the result instead of just dropping columns.
  60.     Lapack doesn't appear to do this yet.
  61.  
  62.   * Check matrices for symmetry before computing eigenvalues, etc.,
  63.     and then use the routines for symmetric matrices for improved
  64.     performance.
  65.  
  66.   * Check matrix classes for proper handling of empty matrices.
  67.  
  68.   * Force all empty matrices to be 0x0 even when other dimensions have
  69.     been speicified, for compatibility with Matlab, at least when some
  70.     preference variable is set.
  71.  
  72.   * Improve design of ODE, DAE, classes.
  73.  
  74.   * Make it possible to specify a time which dassl and lsode should
  75.     not integrate past.
  76.  
  77.   * Extend meaning of .* to include v .* M or M .* v (where v is a
  78.     column vector with the same number of rows as M) to scale rows of
  79.     M by elements of v.  Similarly, if w is a row vector with as many
  80.     columns as M, then either w .* M or M .* w scales the columns of
  81.     M.
  82.  
  83.   * Given two vectors x and y of length m and n, implement a function
  84.     outer (x, y, f) that returns an m-by-n matrix with entries
  85.     f (x(i), y(j)).  If f is omitted, multiplication is the default.
  86.     Should probably work for any vectors, not just if x is a column
  87.     vector and y is a row vector.
  88.  
  89.   * On systems that support matherr(), make it possible for users to
  90.     enable the printing of warning messages.
  91.  
  92. --------
  93. Graphics:
  94. --------
  95.  
  96.   * Make plotting with plplot work.
  97.  
  98.   * Fix interface with gnuplot to wait for gnuplot to output any text
  99.     before octave returns a prompt.  Possible by implementing two
  100.     way communication between gnuplot and Octave.
  101.  
  102.   * Make gsave (and possibly gload) work.  Implement gsave by having it
  103.     also alter the plot command to not use temporary files (perhaps
  104.     with some user-specified template for naming them) and then
  105.     sending a `save' command to gnuplot.
  106.  
  107.   * It would be nice to be able to check that a plot is currently
  108.     being displayed.
  109.  
  110.   * Implement clf, gcf, get, set, orient, print, close, etc. in
  111.     Matlab-compatible ways.
  112.  
  113.   * Make it possible to check the current graphics terminal type.
  114.  
  115.   * If possible, pass data to gnuplot without using temporary files.
  116.  
  117.   * If possible, pass binary data to gnuplot to speed things up.
  118.  
  119. -------
  120. Strings:
  121. -------
  122.  
  123.   * Convert string functions to work on string arrays.
  124.  
  125.   * Make find work for strings.
  126.  
  127.   * Consider making octave_print_internal() print some sort of text
  128.     representation for unprintable characters instead of sending them
  129.     directly to the terminal.  (But don't do this for fprintf!)
  130.  
  131.   * Consider changing the default value of `string_fill_char' from SPC
  132.     to NUL.
  133.  
  134.   * Consider making ["test", []] ==> "test", for compatibility with
  135.     Matlab, at least when some set of preferences are set.
  136.  
  137. ----------------
  138. Other Data Types:
  139. ----------------
  140.  
  141.   * New types (char, short, etc.).
  142.  
  143.   * 3d matrix stuff.
  144.  
  145.   * Template functions for mixed-type ops.
  146.  
  147.   * Stuff for arithmetic using charMatrix, intMatrix, etc.
  148.  
  149. ------------------------
  150. Graphical User Interface:
  151. ------------------------
  152.  
  153.   * In an X11 or other windowing environment, allow the user to pop up
  154.     windows for menus and other purposes.  A good place to start might
  155.     be Tk, as long as Tcl is avoided.
  156.  
  157.   * Add a way to handle events, like alarms, mouse clicks, etc.
  158.  
  159. ------------
  160. Input/Output:
  161. ------------
  162.  
  163.   * Make fread and fwrite work for complex data.  Iostreams based
  164.     versions of these functions would also be nice, and if you are
  165.     working on them, it would be good to support other size
  166.     specifications (integer*2, etc.).
  167.  
  168.   * Make load and save work for structures.
  169.  
  170.   * Make load and save look for <file>.mat if only given <file>.
  171.  
  172.   * Move some pr-output stuff to liboctave.
  173.  
  174.   * Make the cutoff point for changing to packed storage a
  175.     user-preference variable with default value 8192.
  176.  
  177.   * Save image data in binary format to save space.
  178.  
  179.   * Make it possible to load other image formats (ppm, pbm, etc. would
  180.     probably be best since there are already filters to convert to
  181.     these formats from others.)
  182.  
  183.   * Use HDF for binary data.
  184.  
  185.   * Make ascii load and save work for Inf and NaN.
  186.  
  187.   * Complain if there is not enough disk space available (I think
  188.     there is simply not enough error checking in the code that handles
  189.     writing data).
  190.  
  191.   * Make it possible to tie arbitrary input and output streams
  192.     together, similar to the way iostreams can be tied together.
  193.  
  194. -----------
  195. Interpreter:
  196. -----------
  197.  
  198.   * Fix the parser so that
  199.  
  200.       function foo ()
  201.         implicit_str_to_num_ok = 1;
  202.         '#' + 0;
  203.       endfunction
  204.  
  205.     succeeds, even when implicit_str_to_num_ok is 0 at the time the
  206.     function is parsed.
  207.  
  208.   * Consider making x(:) work no matter what the value of
  209.     do_fortran_indexing.
  210.  
  211.   * If foo.oct and foo.m both exist in the LOADPATH, Octave will
  212.     always find foo.oct, even if foo.m appears earlier in the list of
  213.     directories.  This should be fixed (in the kpathsearch library) to
  214.     find the first .oct or .m file in the path, and only prefer .oct
  215.     over .m if both files are in the same directory.
  216.  
  217.   * Fix the grammar to allow structure references and index operations
  218.     for for anonymous expressions.  For example, it should be possible
  219.     to write
  220.  
  221.       localtime (time ()) . hour;
  222.  
  223.     to get the current hour.  Likewise, it should be possible to write
  224.  
  225.       svd (A) (1:13);
  226.  
  227.     to extract the first 13 singular values of the matrix A.
  228.  
  229.   * Consider grouping all preference variables in a structure instead
  230.     of further polluting the namespace.  Maybe `Octave_options.xxx'?
  231.  
  232.   * Rewrite functions in input.cc to do the right thing in all cases
  233.     of using readline, forced interactive behavior, echoing of input,
  234.     etc.
  235.  
  236.   * Make it possible to redefine built-in variables and functions.
  237.     (Fix whatever it is that is happening with clear for built-in
  238.     variables.)
  239.  
  240.   * Make it possible to check if a variable is complex.
  241.  
  242.   * Consider making linspace() and logspace() return the value
  243.     corresponding to the first argument if the number of requested
  244.     points is 1.
  245.  
  246.   * Make it possible to get the names of the arguments that are passed
  247.     to functions, at least if simple variables are passed.
  248.  
  249.   * Consider allowing an arbitrary property list to be attached to any
  250.     variable.  This could be a more general way to handle the help
  251.     string that can currently be added with `document'.
  252.  
  253.   * Allow more command line options to be accessible as built-in
  254.     variables (--echo-commands, etc.).
  255.  
  256.   * Allow `octave -c STRING' to execute commands from STRING then
  257.     exit.
  258.  
  259.   * Handle DOS style CRLFs in M files.  This should probably be
  260.     optional.
  261.  
  262.   * Make the interpreter run faster.
  263.  
  264.   * Make it possible to disable or enable all warnings on an
  265.     individual basis from the command line or via some built-in
  266.     structure variable.
  267.  
  268.   * Warn about complex comparisons?  Could just use double_value() or
  269.     matrix_value() instead of explicit conversions to real types.
  270.  
  271.   * Make warnings also give some indication about the location of the
  272.     code that triggers the warning.
  273.  
  274.   * Warn about complex comparisons?  Could just use double_value() or
  275.     matrix_value() instead of explicit conversions to real types.  For
  276.     this to really be useful, some additional information must be
  277.     available to point to the location of the code that triggers the
  278.     warning.
  279.  
  280.   * Consider making it possible to have arrays of structures, and some
  281.     way of indexing them.
  282.  
  283.   * Allow arbitrary lower bounds for array indexing.  (Watch out for
  284.     the additional conflict with zero-one style indexing.)
  285.  
  286.   * Recursive problems.
  287.  
  288.   * Improve the way ignore_function_time_stamp works to allow
  289.     selecting by individual directories or functions.  Also,
  290.     optionally allow checking only once between each prompt instead of
  291.     every time the function is called.
  292.  
  293.   * Make it possible to ask exist() to only look for certain classes
  294.    of variables, functions, files, etc. rather than always looking for
  295.    everything.
  296.  
  297.   * Add a command-line option to tell Octave to just do syntax
  298.     checking and not execute statements.
  299.  
  300.   * Is it necessary for do_binary_op and do_unary_op to be friends of
  301.     the tree_constant class.
  302.  
  303.   * Clean up symtab and variable stuff.
  304.  
  305.   * Input stream class for parser files -- must manage buffers for
  306.     flex and context for global variable settings.
  307.  
  308.   * Make LEXICAL_ERROR have a value that is the error message for
  309.     parse_error() to print?
  310.  
  311.   * Make it possible to clear dynamically loaded functions.
  312.  
  313.   * Add a run-time alias mechanism that would allow things like
  314.  
  315.       alias fun function_with_a_very_long_name 
  316.  
  317.     so that `function_with_a_very_long_name' could be invoked as
  318.     `fun'.
  319.  
  320.   * What should is_global() return when called for built-in variables?
  321.  
  322.   * Make it possible to have `static' variables inside functions that
  323.     retain their values across calls.
  324.  
  325.   * Allow local changes to variables to be written more compactly than
  326.     is currently possible with unwind_protect.  For example,
  327.  
  328.       function f ()
  329.     local prefer_column_vectors = something;
  330.     ...
  331.       endfunction
  332.  
  333.     would be equivalent to
  334.  
  335.       function f ()
  336.     unwind_protect
  337.       save_prefer_column_vectors = prefer_column_vectors;
  338.       prefer_column_vectors = something;
  339.       ...
  340.     unwind_protect_cleanup
  341.       prefer_column_vectors = save_prefer_column_vectors;
  342.     end_unwind_protect
  343.       endfunction
  344.  
  345.   * Fix all function files to check for bogus inputs (wrong number or
  346.     types of input arguments, wrong number of output arguments).
  347.  
  348.   * Handle options for built-in functions more consistently.
  349.  
  350.   * Too much time is spent allocating and freeing memory.  What can be
  351.     done to improve performance?
  352.  
  353.   * Error output from Fortran code is ugly.  Something should be done to
  354.     make it look better.
  355.  
  356.   * It would be nice if output from the Fortran routines could be
  357.     passed through the pager.
  358.  
  359.   * Attempt to recognize common subexpressions in the parser.
  360.  
  361.   * Remove the buffer size limit in octave_read() in input.cc.
  362.  
  363.   * Handle arrays with more than two dimensions.
  364.  
  365.   * Consider making assignment statements like
  366.  
  367.       M (i_idx, j_idx) = RHS
  368.  
  369.     produce the value of RHS instead of the value of M.
  370.  
  371.   * Consider making it possible to specify an empty matrix with a
  372.     syntax like [](e1, e2).  Of course at least one of the expressions
  373.     must be zero...
  374.  
  375.   * Eliminate force_numeric and make_numeric functions.
  376.  
  377.   * Is Matrix::fortran_vec() really necessary?
  378.  
  379.   * print_usage() should set error_state in most cases?
  380.  
  381.   * Make statements like this
  382.  
  383.       foo bar baz
  384.  
  385.     turn into function calls like this:
  386.  
  387.       foo ("bar", "baz")
  388.  
  389.     This is pretty ugly and introduces some conflicts.
  390.  
  391.   * Add a command that works like bash's `builtin' command.
  392.  
  393.   * Handle comments in parse trees for use with the type command.
  394.  
  395.   * Make the type command handle script files too, by just reading and
  396.     printing them.
  397.  
  398.   * Clean up eye, eval, feval, keyboard, input, ones, zeros.
  399.  
  400.   * It would be nice to have an interactive debugger.
  401.  
  402.   * Make whos report total memory used by variables (and functions?).
  403.  
  404.   * Rewrite whos and the symbol_record_info class.  Write a built-in
  405.     function that gives all the basic information, then write who and
  406.     whos as M-files.
  407.  
  408. -------
  409. History:
  410. -------
  411.  
  412.   * Add an option to allow saving input from script files in the
  413.     history list.
  414.  
  415.   * Fix history problems -- core dump if multiple processes are
  416.     writing to the same history file?
  417.  
  418. ------------------------------
  419. Configuration and Installation:
  420. ------------------------------
  421.  
  422.   * Handle USE_READLINE so that --enable-readline will work.
  423.  
  424.   * Make Octave as independent of the particular readline version as
  425.     possible.
  426.  
  427.   * Add an --enable-pathsearch option to configure to make it possible
  428.     to configure and run without kpathsea. 
  429.  
  430.   * Make configure take more defaults from the environment.
  431.  
  432.   * Should --enable-lite-kernel imply --enable-shared?
  433.  
  434.   * Make it possible to configure without readline.
  435.  
  436.   * Makefile changes:
  437.       -- eliminate for loops
  438.       -- define shell commands or eliminate them
  439.       -- verify distclean
  440.       -- consolidate targets
  441.  
  442.   * Make it possible to configure so that installed binaries and
  443.     shared libraries are stripped.
  444.  
  445.   * Make installation of the static libraries optional.
  446.  
  447. ------------------------------
  448. Documentation and On-Line Help:
  449. ------------------------------
  450.  
  451.   * Document new features.
  452.       -- history-search-{back,for}ward.
  453.       -- try/catch.
  454.       -- Other stuff mentioned in the NEWS file.
  455.  
  456.   * Improve the Texinfo Documentation for the interpreter.  It would
  457.     be useful to have lots more examples, to not have so many forward
  458.     references, and to not have very many simple lists of functions.
  459.  
  460.   * The docs should mention something about efficiency and that using
  461.     array operations is almost always a good idea for speed.
  462.  
  463.   * Texinfo documentation for the C++ classes.
  464.  
  465.   * Support multiple info files, perhaps allowing one or more in each
  466.     directory in the LOADPATH, so that local collections of M-files
  467.     could be documented with Info.
  468.  
  469.   * Figure out a good way to have functions and variables documented
  470.     in only one place.
  471.  
  472.   * Improve help messages for operators and keywords in help.cc.
  473.  
  474.   * Make index entries more consistent to improve behavior of `help -i'.
  475.  
  476.   * Make `help -i' try to find a whole word match first.
  477.  
  478.   * Allow help for local additions to be accessible with help -i.
  479.  
  480.   * Make the arrow keys work in the info reader.
  481.  
  482.   * Update Info to be based on the current Texinfo release.
  483.  
  484.   * Should info/terminal.c include definitions for PC, BC, UP, and
  485.     ospeed on all systems?
  486.  
  487.   * Clean up help stuff.
  488.  
  489.   * Demo files.
  490.  
  491.   * As the number of m-files with octave grows perhaps a 'Contents.m'
  492.     file for each toolbox (directory) would be appropriate so one
  493.     knows exactly what functions are in a toolbox with a quick look.
  494.     It would be best to generate information for each function directly
  495.     from the M-files, so that the information doesn't have to be
  496.     duplicated, and will remain current if the M-files change.  It
  497.     would also be best to do as much of this as possible in an M-file,
  498.     though I wouldn't mind adding some basic support for listing the
  499.     names of all the directories in the LOADPATH, and the names of all
  500.     the M-files in a given directory if that is needed.
  501.  
  502.   * Some sort of blurb (2-3 pages) describing Octave in a reasonably
  503.     coherent way, where to get it etc., perhaps formatted pretty,
  504.     i.e. not just text.  Maybe start with the latest Announce file.
  505.  
  506. -----
  507. Tests:
  508. -----
  509.  
  510.   * Improved set of tests:
  511.  
  512.       -- Tests for various functions.  Would be nice to have a test file
  513.      corresponding to every function.
  514.  
  515.       -- Tests for element by element operators:
  516.        +  -  .*  ./  .\  .^  |  &  <  <=  ==  >=  >  !=  ! 
  517.  
  518.       -- Tests for boolean operators:  &&  ||
  519.  
  520.       -- Tests for other operators:  *  /  \  '  .'
  521.  
  522.       -- Tests from bug reports.
  523.  
  524.       -- Tests for indexed assignment.  Need to consider the following:
  525.        o fortran-style indexing
  526.        o zero-one indexing
  527.        o assignment of empty matrix as well as values
  528.        o resizing
  529.  
  530.   * Tests for all internal functions.
  531.  
  532. -----------
  533. Programming:
  534. -----------
  535.  
  536.   * Move toward using more stuff from standard C++ library.
  537.  
  538.   * More C++/Fortran cleanups.
  539.  
  540.   * It is likely that there are still some memory leaks.  Hunt then down
  541.     and plug them. 
  542.  
  543.   * Better error messages for missing operators?
  544.  
  545.   * Eliminate duplicate enums in pt-exp.cc, pt-const.cc, and ov.cc.
  546.  
  547.   * Handle octave_print_internal() stuff at the liboctave level.  Then
  548.     the octave_value classes could just call on the print() methods
  549.     for the underlying classes.
  550.  
  551.   * As much as possible, eliminate explicit checks for the types of
  552.     octave_value objects so that user-defined types will automatically
  553.     do the right thing in more cases.
  554.  
  555.   * Only include config.h in files that actually need it, instead of
  556.     including it in every .cc file.  Unfortunately, this might not be
  557.     so easy to figure out.
  558.  
  559.   * GNU coding standards:
  560.  
  561.     -- Add a `Makefile' target to the Makefiles.
  562.     -- Comments on #else and #endif preprocessor commands.
  563.     -- Change error message format to match standards everywhere.
  564.  
  565.   * Use STL stuff instead of libg++ lists, maps, and stacks.
  566.  
  567.   * Eliminate more global variables.
  568.  
  569.   * Encapsulate readline in a class.  Include interface to stuff like
  570.     blink_matching_paren. 
  571.  
  572.   * Encapsulate resource stuff in a class.
  573.  
  574.   * Move procstream to liboctave.
  575.  
  576.   * Replace more C-style vectors with Array<T> stuff.
  577.  
  578.   * Use references and classes in more places.
  579.  
  580.   * Share more code among the various *_options functions.
  581.  
  582. -------------
  583. Miscellaneous:
  584. -------------
  585.  
  586.   * Implement some functions for interprocess communication:  bind,
  587.     accept, connect, gethostbyname, etc.
  588.  
  589.   * The installation process should also install octave.el.  This
  590.     needs to detect the appropriate Emacs binary to use to
  591.     byte-compile the .el file.  Following GNU Emacs philosophy,
  592.     installation would be into $(prefix)/share/emacs/site-lisp by
  593.     default, but it should be selectable.
  594.  
  595.   * The ability to transparently handle very large files:
  596.  
  597.     Juhana K Kouhia <kouhia@nic.funet.fi> wrote:
  598.  
  599.       If I have a one-dimensional signal data with the size 400
  600.       Mbytes, then what are my choices to operate with it:
  601.  
  602.        * I have to split the data
  603.        * Octave has a virtual memory on its own and I don't have to
  604.          worry about the splitting.
  605.  
  606.       If I split the data, then my easily programmed processing
  607.       programs will become hard to program.
  608.  
  609.       If possible, I would like to have the virtual memory system in
  610.       Octave i.e. the all big files, the user see as one big array or
  611.       such.  There could be several user selectable models to do the
  612.       virtual memory depending on what kind of data the user have (1d,
  613.       2d) and in what order they are processed (stream or random
  614.       access).
  615.  
  616.     Perhaps this can be done entirely with a library of M-files.
  617.  
  618.   * Add a function like strptime() which is the opposite of
  619.     strftime().  A C version is apparently in recent releases of the
  620.     Linux C library.
  621.  
  622. ------
  623. Always:
  624. ------
  625.  
  626.   * Squash bugs.
  627.  
  628.                 --30--
  629.